package br.com.absolutech.study.chapter7.pag345;

public class UseTwo<T,X> {
	T one;
	X two;
	
	public UseTwo(T one, X two) {
		this.one = one;
		this.two = two;
	}
	
	T getT() { return one; }
	X getX() { return two; }
	
	//faz um teste, criando com <String, Integer>
	
	public static void main(String[] args) {
		UseTwo<String, Integer> twos = new UseTwo<String, Integer>("foo", 42);
		String theT = twos.getT();
		int theX = twos.getX();
		
	}
}
